package thread;

public class YieldDemo {
    public static void main(String[] args) {
        MyRunnable myRunnable = new MyRunnable();
        Thread t1 = new Thread(myRunnable,"A");
        Thread t2 = new Thread(myRunnable,"B");
        Thread t3 = new Thread(myRunnable,"C");

        t1.start();
        t2.start();
        t3.start();
    }
}
